@import "tailwindcss";
.collab-cursor-container {
  position: relative;
  display: inline-block;
  pointer-events: none;
  z-index: 20;
}

.collab-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 1.2em;
  animation: blink 1.1s steps(1) infinite;
}

.collab-cursor-label {
  position: absolute;
  bottom: 150%; /* 相对于光标往上 */
  left: 0;
  transform: translateY(-15px); /* 微调 */
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  z-index: 25;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  pointer-events: none;
}
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}